<%-- 
    Document   : show_fund_transfer_confirmation_fav
    Created on : Nov 2, 2014, 10:34:26 PM
    Author     : hasnor
--%>

<%@page contentType="text/html" pageEncoding="windows-1252"%>
<%@ include file="/WEB-INF/jsp/include/page_header.jspf" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Pindahan Simpanan</title>
        <script type="text/javascript">
            $(document).ready(function(){
                $('form').submit( function () {
                    return formValidation();
                }); 
            });
            
            function popupWin(accno){
                var url = '${pageContext.request.contextPath}/deposit?showTACinfo&accno='+accno;
                popupWindow = window.open(
                    url,'popUpWindow','height=700,width=800,left=10,top=10,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=no,directories=no,status=yes')
            }
            
            function redirectToHomePage(f){
                var url = '${pageContext.request.contextPath}/deposit?showMainForm';
                f.action = url;
                f.submit();
            }
            
            
        </script>
    </head>
    <body>
        <s:form action="/deposit/transfer" class="niceform">
            <s:hidden name="deposit.noKp" id="noKp"></s:hidden> 
            <s:hidden name="deposit.noAkaun" id="noAkaun"></s:hidden>
            <s:hidden name="deposit.amaun" id="damaun"/>
            <s:hidden name="deposit.noKpDari" id="noKpDari"/>
            <s:hidden name="deposit.noAkaunDari" id="noAkaunDari"/>
            <s:hidden name="deposit.nama" id="nama"></s:hidden>
            <s:hidden name="deposit.namaPenerima" id="namaPenerima"></s:hidden>
            <s:hidden name="deposit.noAkaunPenerima" id="noAkaunPenerima"></s:hidden>
            <s:hidden name="deposit.balanceAmaun" id="balanceAmaun"></s:hidden>
            <div id="content">
                <div id="logo">
                    <span>
                        <img src="${pageContext.request.contextPath}/images/img/ribbon.png"/>               
                    </span>
                </div>
                <h3>
                    Pindahan Simpanan
                </h3>
                <p>
                    <label>Dari Akaun TH :</label>${actionBean.deposit.noAkaunDari}&nbsp;                   
                </p>
                <p>
                    <label>Nama :</label>${actionBean.deposit.nama}&nbsp;
                </p>
                <p>
                    <label>Ke Akaun TH :</label>${actionBean.deposit.noAkaunPenerima}&nbsp;
                </p>
                <p>
                    <label>Nama :</label>${actionBean.deposit.namaPenerima}&nbsp;
                </p>
                <p>
                    <label>Jumlah (RM) :</label><fmt:formatNumber value="${actionBean.deposit.amaun}" pattern="#,###.00"/>&nbsp;
                </p>
                <p>
                    <label>Baki Amaun (RM) :</label><fmt:formatNumber value="${actionBean.deposit.balanceAmaun}" pattern="#,###.00"/>&nbsp;
                </p>
                <br>
                <p >
                    Sila sahkan maklumat di atas. Klik 'YA' untuk meneruskan pindahan atau klik 'TIDAK' untuk membatalkan pindahan.
                </p>    
                <br/>
                <p align="center">
                    <s:submit name="Transfer_Step4Fav" value="Ya" class="button green button_blockUI"/>
                    <s:button name="cancelFundTranfer" value="Tidak" class="button green button_blockUI" onclick="redirectToHomePage(this.form)"/>
                </p>                                   
                <tr>

            </div>
        </s:form>
    </body>
</html>
